<?php
header("Content-type:text/html;charset=utf-8");
session_start();
if(empty($_SESSION['admin'])){
    exit("<script>alert('请登入哦!');location.href='./login.php';</script>");
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>后台管理中心</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<frameset rows="52,*" framespacing="0" border="0">
  <frame src="top.php" id="header-frame" name="header-frame" frameborder="no" scrolling="no">

  <frameset cols="180, 10,*" framespacing="0" border="0" >
    <frame src="left.php" id="menu-frame" name="menu-frame" frameborder="no" scrolling="yes">
    <frame src="drag.php" id="drag-frame" name="drag-frame" frameborder="no" scrolling="no">
    <frame src="main.php" id="main-frame" name="main-frame" frameborder="no" scrolling="yes">
  </frameset>
</frameset>
</html>